<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page import="net.lunjin.util.Constants" %>
<%@page import="finaler.util.PageList"%>
<%@page import="finaler.util.PageUtil"%>
<%@page import="java.util.List"%>
<%@page import="net.lunjin.bean.News"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%
PageList tagList = (PageList) request.getAttribute("tagList");
%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>标签云-带你沐浴七彩金融知识池</title>
<meta name="keywords" content="<%=Constants.METAKEYWORDS %>">
<meta name="description" content="<%=Constants.METADESCRIPTION %>">
<jsp:include page="/commonImport.jsp"/>
</head>
	<style>
	<!--
	body {
	    font-family: Arial, Helvetica, sans-serif;
	    font-size:12px;
	    color:#666666;
	    background:#fff;
	    text-align:center;
	}	 
	* {
	    margin:0;
	    padding:0;
	}	 
	a {
	    color:#1E7ACE;
	    text-decoration:none;    
	}	 
	a:hover {
	    color:#000;
	    text-decoration:underline;
	}
	h3 {
	    font-size:14px;
	    font-weight:bold;
	}	 
	pre,p {
	    color:#1E7ACE;
	    margin:4px;
	}
	input, select,textarea {
	    padding:1px;
	    margin:2px;
	    font-size:11px;
	}
	.buttom{
	    padding:1px 10px;
	    font-size:12px;
	    border:1px #1E7ACE solid;
	    background:#D0F0FF;
	}
	#formwrapper {
	    width:860px;
	    margin:15px auto;
	    padding:20px;
	    text-align:left;
	    border:1px #1E7ACE solid;
	}	 
	fieldset {
	    padding:10px;
	    margin-top:5px;
	    border:1px solid #1E7ACE;
	    background:#fff;
	}	 
	fieldset legend {
	    color:#1E7ACE;
	    font-weight:bold;
	    padding:3px 20px 3px 20px;
	    border:1px solid #1E7ACE;    
	    background:#fff;
	}	 
	fieldset label {
	    float:left;
	    width:120px;
	    text-align:right;
	    padding:4px;
	    margin:1px;
	}	 
	fieldset div {
	    clear:left;
	    margin-bottom:2px;
	}
	.enter{ text-align:center;}
	.clear {
	    clear:both;
	}	
	.con {
	    padding:3px 20px 3px 77px;
	}
	-->
</style>
<script type="text/javascript">
	$(function(){
		var obj=$("#wrap a");
		function rand(num){
			return parseInt(Math.random()*num+1);
		}
		function randomcolor(){
			var str=Math.ceil(Math.random()*16777215).toString(16);   
			if(str.length<6){   
				str="0"+str;   
			}   
			return str;
		}
		for(len=obj.length,i=len;i--;){
			obj[i].style.left=rand(600)+"px";   
			obj[i].style.top=rand(400)+"px";   
			obj[i].className="color"+rand(5);   
			obj[i].style.zIndex=rand(5);   
			obj[i].style.fontSize=rand(15)+12+"px";   
			obj[i].style.color="#"+randomcolor();
		}  
	});
</script>
<body>
<div class="content">
	<jsp:include page="/top.jsp"/> 
		<div class="channel-nav w960 center clear mt1">
		    <fieldset>
		        <legend><font size="4" ><img src="<%=Constants.URL %>/images/cld.jpg" alt="vip"/>标签云--带你沐浴七彩金融知识池</font>
				 	<form action="" method="post">
				 		<input type="text" id="searchkey" name="searchkey" size="20" placeholder="输入标签关键字" />
				 		<input type="submit" value="搜索标签"/>
				 	</form>
			</legend>
				<ul class="my_page">
				 <center>
					<%=PageUtil.getCurrPage(tagList)%>&nbsp;
					<%=PageUtil.getRecord(tagList)%>&nbsp;
					<%=PageUtil.getSinglePaginator(tagList,true)%>
				 </center>
				</ul>
		        <div align="left" id="wrap">
		        <b>
					<%
					List tagLst = tagList.getList();
					for(int i=0;i<tagLst.size();i++){
					News news = (News) tagLst.get(i);
					%>
						<a href="<%=Constants.URL %>/tag/<%=news.getId() %>.html" target="_blank"><%=news.getNewstitle()%></a>&nbsp;
					<%} %>
		        </b>
				</div>  
				<ul class="my_page">
				 <center>
					<%=PageUtil.getCurrPage(tagList)%>&nbsp;
					<%=PageUtil.getRecord(tagList)%>&nbsp;
					<%=PageUtil.getSinglePaginator(tagList,true)%>
				 </center>
				</ul>
		    </fieldset>
		</div>
		
		
		<jsp:include page="/foot.jsp"/> 
	</div>
</body>

</html>